package elkaiyohrempfeil;

import java.io.IOException;
import java.util.Scanner;

import org.apache.log4j.Logger;

public class Aufgabe02 
{

	
	/**
	 * @param args
	 * @throws IOException 
	 */
	public static void main(String[] args) throws IOException 
	{
		System.out.println("Please type in the filepath for polyline file:");
		Scanner scanner = new Scanner(System.in);
		String filepath = scanner.nextLine();
		
		Polyline polyline = PolylineImport.importPolyline(filepath);
		
		System.out.println(polyline);
		System.out.println("Length: "+polyline.getLength());
		
	}

}
